/abort
Request body:
| Field | Type | Required | Format / constraints |
|---|---|---|---|
documentExtID | string | Yes | Mandatory |
docTime | string | No | yyyy-MM-dd HH:mm:ss |
docNumber | string | No | External document number |
amount | integer (int64) | No | Minor units |
Only documentExtID is used to locate the document in the current implementation. docTime, docNumber and amount are retained for
contract compatibility but do not affect the operation.
Success response:
| Field | Type | Required | Notes |
|---|---|---|---|
documentID | integer (int64) | No | Internal document id |
documentExtID | string | No | External document id |
/abort releases every terminal operation of the document: pending operations are aborted, hanging cancels are finished, and every already
charged payment is reversed. If any of them cannot be undone, /abort answers with an error and keeps the document — retry it, and do not
treat the receipt as cancelled.